<%@ page import="org.ibiblio.terasaur.item.Item" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="thin_sidebar" />
        <content tag="title">${pageTitle}</content>
<%--
        <jqui:resources theme="darkness" />
        <jq:jquery>
            $("#published_date").datepicker({dateFormat: 'yy/mm/dd'});
        </jq:jquery>
--%>
    </head>
    <body>
        <div class="body">
            <h1>${pageTitle}</h1>
            <g:hasErrors bean="${itemInstance}">
            <div class="errors">
                <g:renderErrors bean="${itemInstance}" as="list" />
            </div>
            </g:hasErrors>
<tmpl:/item/edit_form />
        </div>
    </body>
</html>
